package com.git.smp.utils;

public class StringUtil {
	public static boolean isBlank(String obj) {
		if(obj == null || "".equals(obj)) {
			return true;
		} else {
			return false;
		}
	}
	
	
	public static boolean equals(String obj1,String obj2) {
		obj1 =obj1 == null?"":obj1;
		obj2 =obj2 == null?"":obj2;
		return obj1.equals(obj2);
		/*
		 * if(obj1 == null) { if(obj2 == null) { return true; }else { return false; }
		 * }else { return obj1.equals(obj2); }
		 */
	}

}
